<template>
  <div class="mainContent">
    <div class="toolBar">
      <span class="print el-icon-printer">打印</span>
      <span class="export el-icon-upload2">导出</span>
    </div>
    <div class="content">
      <el-image lazy :src="img"></el-image>
    </div>
  </div>
</template>

<script>
    export default {
        props: {
            img: {
                type: String,
                default: ''
            }
        }
    }
</script>

<style lang="scss" scoped>
  .mainContent {
    padding: 30px 50px;
    .toolBar {
      text-align: right;
      margin-bottom: 10px;
      color: #4D4D4D;
      font-size: 14px;
      span::before{
        margin-right: 5px;
        color: #949292;
      }
      span{
        margin-left: 30px;
        cursor: pointer;
      }
    }
  }
</style>
